QT -= gui

CONFIG += c++11 console
CONFIG -= app_bundle

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += $$PWD/../include
INCLUDEPATH += ..\include

SOURCES += \
        ../libtvm/tvm.c \
        ../libtvm/tvm_file.c \
        ../libtvm/tvm_htab.c \
        ../libtvm/tvm_lexer.c \
        ../libtvm/tvm_memory.c \
        ../libtvm/tvm_parser.c \
        ../libtvm/tvm_preprocessor.c \
        ../libtvm/tvm_program.c \
        ../src/tvmi.c \
        ../tdb/main.c \
        ../tdb/tdb.c

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    ../include \
    ../include/tvm/tvm.h \
    ../include/tvm/tvm_file.h \
    ../include/tvm/tvm_htab.h \
    ../include/tvm/tvm_lexer.h \
    ../include/tvm/tvm_memory.h \
    ../include/tvm/tvm_parser.h \
    ../include/tvm/tvm_preprocessor.h \
    ../include/tvm/tvm_program.h \
    ../include/tvm/tvm_stack.h \
    ../include/tvm/tvm_tokens.h \
    ../tdb/tdb.h \
    ../tdb/tdb_breakpoint.h

DISTFILES += \
    ../tdb/README.md
